//导入request.js
import request from '@/utils/request.js'

export const StuLoginService = (loginData)=>{
    return request.post('/stu/login',loginData)
}

export const StuDormitoryService = ()=>{
    return request.get('/stu/findDormitory')
}

//查找置业大厦
export const StuFindByZhiYeService = ()=>{
    return request.get('/stu/findByZhiYe')
}

//查找双创四人间
export const StuFindByShuangChuangSiRenService = ()=>{
    return request.get('/stu/findByShuangChuangSiRen')
}

//查找双创双人间
export const StuFindByShuangChuangShuangRenService = ()=>{
    return request.get('/stu/findByShuangChuangShuangRen')
}

//查找101四人间
export const StuFindByYaoLinYaoSiRenService = ()=>{
    return request.get('/stu/findByYaoLinYaoSiRen')
}

//查找71四人间
export const StuFindByQiYiSiRenService = ()=>{
    return request.get('/stu/findByQiYiSiRen')
}

//查找19四人间
export const StuFindByShiJiuSiRenService = ()=>{
    return request.get('/stu/findByShiJiuSiRen')
}

//更新宿舍号
export const StuUpdateDormitoryByZhiYeService = (dormitoryData)=>{
    return request.put('/stu/insert',dormitoryData)
}